package br.com.tarlis.core.server.exception;

import br.com.tarlis.core.client.exception.SerializableException;

public class UnexpectedException extends CoreException {
	
	public UnexpectedException() {
		super();
	}

	public UnexpectedException(String message, Throwable cause) {
		super(message, cause);
	}

	public UnexpectedException(String message) {
		super(message);
	}

	public UnexpectedException(Throwable cause) {
		super(cause);
	}

	@Override
	public SerializableException toSerializableException() {
		return new br.com.tarlis.core.client.exception.UnexpectedException(
				getMessage());
	}
	
}
